#ifndef _SEM_H

#define _SEM_H
#include <linux/sched.h>
#define SEM_NAME_LEN 20
typedef struct _sem
{
    char name[SEM_NAME_LEN];
    unsigned int value;
    struct task_struct *wait;
    struct _sem *next; // link
} sem_t;

#endif